//
//  GMTorrentListModel.h
//  gentleman
//
//  Created by 范月成 on 2017/12/14.
//  Copyright © 2017年 fancy. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "GMTorrent.h"

typedef void (^getTorrentsCompleted)(NSError *error, NSMutableArray *artworks);

@interface GMTorrentListModel : NSObject <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong, readonly) NSMutableArray <GMTorrent *>*listDatas;

- (void)getTorrentListWithGid:(NSInteger)gid
                        token:(NSString *)token
                    completed:(getTorrentsCompleted)completed;

@end
